<template>
  <div class="take-body">
    <good-take-item v-for="(take, index) in data"
                    :data="take"
                    :key="take.id"/>
  </div>
</template>

<script lang="ts"
        setup>
import GoodTakeItem from '@/components/library/GoodTakeItem.vue'
import type {Take} from '@/types/take'

defineProps<{
  data: Take[]
}>()
</script>

<style lang="less"
       scoped>
.take-body {
  padding: 0 20px;
}
</style>